package com.woniuxy.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.shop.entity.Order;
import com.woniuxy.shop.vo.CartItemVo;
import com.woniuxy.shop.vo.OrderPreViewVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fanqiwen
 * @since 2023-02-07 11:56:02
 */
public interface OrderService extends IService<Order> {

    OrderPreViewVo queryOrderPreViewVo(Integer id, Integer[] productIds);

    void addOrder(Integer[] productIds, Integer id,Integer selectAddressId);
}
